ElasticPress\Feature\ProtectedContent\ProtectedContent A

Total Complexity 62
Dependencies 2
Dependents 1
Total lines 545
Lines of code 279
Logical lines of code 135
Comment lines 189
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
filter_private_posts_for_current_user()
A
39 11 71
integrate()
A
48 10 33
integrate_comments_query()
A
54 8 21
remove_fields_from_password_protected()
S
52 6 26
maybe_change_sort()
S
58 5 16
exclude_protected_posts()
S
60 5 12
setup()
S
53 3 22
post_types()
S
54 2 23
include_post_password()
S
71 2 5
requirements_status()
S
68 2 7
set_settings_schema()
S
63 1 11
__construct()
S
69 1 7
set_i18n_strings()
S
69 1 6
query_password_protected_posts()
S
76 1 4
return_post_password()
S
77 1 4
get_statuses()
S
72 1 5
get_comment_statuses()
S
81 1 3
sync_password_protected()
S
82 1 3